package com.linkage.usercenter.dao;

import com.linkage.usercenter.pojo.entity.CoreNotice;
import org.apache.ibatis.annotations.Mapper;

import java.util.List;

@Mapper
public interface CoreNoticeMapper {
    int deleteByPrimaryKey(String id);

    int insert(CoreNotice record);

    int insertSelective(CoreNotice record);

    CoreNotice selectByPrimaryKey(String id);

    int updateByPrimaryKeySelective(CoreNotice record);

    int updateByPrimaryKeyWithBLOBs(CoreNotice record);

    int updateByPrimaryKey(CoreNotice record);

    List<CoreNotice> selectByNoticeTitleAndType(Integer type, String title);

    List<CoreNotice> queryList(CoreNotice notice);
}